package com.xnyzc.lhy.statistics.entity.statistics;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 *
 * 司机出车数
 *
 * @author cuixiaojian
 * @since 2019-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DriveOut对象", description="司机出车统计")
public class DriveOut {

    public static final String INDEX_NAME = "oa_bolt_capacity";

    public static final String TYPE = "driver_out";

    /**
     * 计数
     */
    private Integer count;

    /**
     * 日期时间
     */
    private Date dateTime;

    /**
     * 日期
     */
    private String date;

    /**
     * 时间
     */
    private String time;

    /**
     * 城市code
     */
    private String adcode;

    public static final String COUNT = "count";

    public static final String DATE_TIME = "dateTime";

    public static final String DATE = "date";

    public static final String TIME = "time";

    public static final String ADCODE = "adcode";

    /**
     * 聚合
     */
    public static final String AGG_DATE = "agg_date";

    public static final String AGG_COUNT = "agg_count";
}
